<%@page import="org.apache.commons.lang.StringUtils"%>
<%@page import="org.apache.commons.lang.time.DateFormatUtils"%>
<%@page import="org.springframework.util.CollectionUtils"%>
<%@page import="java.util.Collection"%>
<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	NoticeForm form = (NoticeForm)request.getAttribute("command");
	String group = form.getGroup();
%>
<div class="main">
	<div class="tab" id="noticeTab">
		<ul>
			<%
				if(Constants.NOTICE_GROUP_NOTICE.equalsIgnoreCase(group)){
					%>
					<li group="0" <%=Constants.NOTICE_GROUP_NOTICE.equalsIgnoreCase(group)?"class=focus":""%>>
			    		<a href=javascript:XF.Notice.readListNotice('0')>内部公告</a>
			    	</li>
					<%
				}else if(Constants.NOTICE_GROUP_DAILY.equalsIgnoreCase(group)){
					%>
					<li group="1" <%=Constants.NOTICE_GROUP_DAILY.equalsIgnoreCase(group)?"class=focus":""%>>
			    		<a href=javascript:XF.Notice.readListNotice('1')>营运日报</a>
			    	</li>
					<%
				}
			%>
		
			<%-- <li group="0" <%=Constants.NOTICE_GROUP_NOTICE.equalsIgnoreCase(group)?"class=focus":""%>>
	    		<a href=javascript:XF.Notice.readListNotice('0')>内部公告</a>
	    	</li>
			<li group="1" <%=Constants.NOTICE_GROUP_DAILY.equalsIgnoreCase(group)?"class=focus":""%>>
	    		<a href=javascript:XF.Notice.readListNotice('1')>营运日报</a>
	    	</li> --%>
		</ul>
	</div>
	<div class="oaTable">
		<div id="replaceDiv"></div>
   	</div>
</div>

<script type="text/javascript">
	$(function(){
		XF.Notice.readListNotice("<%=group%>","<%=form.getTitle() %>","<%=form.getPageNum()%>");
	});
</script>
